package com.pubinfo.passbook.common.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.baomidou.mybatisplus.core.metadata.IPage;
import com.pubinfo.passbook.common.entity.TRuleFormula;
import com.pubinfo.passbook.common.model.dto.rule.RuleFormulaParam;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * @Entity com.pubinfo.passbook.common.entity.TRuleFormula
 */
public interface TRuleFormulaMapper extends BaseMapper<TRuleFormula> {
  IPage<TRuleFormula> selectRuleFormula(IPage<TRuleFormula> iPage, @Param("param") RuleFormulaParam param);
  
  List<TRuleFormula> findFormulaByDistrictId(@Param("districtId") String districtId);
}




